package site.yunnong.atvris.dao.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import site.yunnong.atvris.dao.domain.MediaPartition;
import site.yunnong.atvris.dao.domain.MediaPartitionExample;

@Mapper
public interface MediaPartitionMapper {
    long countByExample(MediaPartitionExample example);

    int deleteByExample(MediaPartitionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MediaPartition record);

    int insertSelective(MediaPartition record);

    List<MediaPartition> selectByExample(MediaPartitionExample example);

    MediaPartition selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MediaPartition record, @Param("example") MediaPartitionExample example);

    int updateByExample(@Param("record") MediaPartition record, @Param("example") MediaPartitionExample example);

    int updateByPrimaryKeySelective(MediaPartition record);

    int updateByPrimaryKey(MediaPartition record);
}